package com.abc.http;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

import com.yansl.http.annotation.EnableHttp;

/**
 * @description:
 * @author: yansl.cn
 * @create: 2023-01-16 17:56
 */
@SpringBootApplication
@EnableHttp
public class ExampleStater {
    public static void main(String[] args) {
        SpringApplication.run(ExampleStater.class);
    }

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
